//
//  ScrollViewSlider.h
//  GuoBuGaForIphone
//
//  Created by zhangwo on 16/10/26.
//  Copyright © 2016年 GuoBuGa. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Common.h"

@class ScrollViewSlider;
@protocol ScrollViewSliderDelegate<NSObject>
@optional
- (void)scrollViewSlider:(ScrollViewSlider *)sliderView didSelectedItemWithData:(NSDictionary *)data;
@end

@interface ScrollViewSlider : UICollectionViewCell <UIScrollViewDelegate>


- (instancetype)initWithFrame:(CGRect)frame;

@property(nonatomic,readonly)UIScrollView *scrollView;
@property(nonatomic,retain)UIPageControl *pageControl;
@property(nonatomic,strong)NSArray *dataList;

@property(nonatomic,assign)id<ScrollViewSliderDelegate>delegate;

@end
